<template>
  <el-form :model="ruleForm"  ref="ruleForm">
    <!--主订单-->
    <el-card class="box-card" shadow="never">

      <div slot="header" class="header-card">
        <span class="header-card-title">主订单</span>
      </div>

      <el-row :gutter="24">
        <el-col>
          <el-table :data="ruleForm.tableData" border >

              <el-table-column label="订单编号" prop="carNo" show-overflow-tooltip align="center"/>

              <el-table-column label="订单状态" prop="vinNo" show-overflow-tooltip align="center"/>

              <el-table-column label="出租方" prop="customerName" show-overflow-tooltip align="center"/>

              <el-table-column label="承租方" prop="ascription" show-overflow-tooltip align="center"/>

              <el-table-column label="交车总数量" prop="ascription" show-overflow-tooltip align="center"/>

              <el-table-column label="已交车数量" prop="ascription" show-overflow-tooltip align="center"/>

              <el-table-column label="未交车数量"  show-overflow-tooltip align="center"/>

          </el-table>
        </el-col>
      </el-row>
    </el-card>
  </el-form>
</template>

<script>
export default {
  name: 'mainOrder',//主订单
  props: {
    value: {
      type: Object,
      default: () => {
        return {};
      },
    },
    state: {
      type: String,
      default: "",
    },
  },

  computed: {
    ruleForm: {
      get() {
        let that = this
        const proxy = new Proxy(that.value, {
          get(target, key, value) {
            return Reflect.get(target, key)
          }
        })
        return proxy
      }
    },
  },
  data() {
    return {};
  },
  created() {
  },
  mounted() {
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
@import "@/styles/cwgd/formScss.scss";
</style>



